package com.ruoyi.param.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
@Accessors(chain = true)
@ApiModel("时段参数")
@ToString
public class TparamTp extends BaseEntity {

    private String id;

    private Integer tpNo;

    private String roomId;

    @ApiModelProperty("房间号")
    private String roomNo;

    @ApiModelProperty("设备号")
    private String meterNo;

    @ApiModelProperty("")
    private BigDecimal sumPower;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt1State;

    @ApiModelProperty("")
    private String sdt1;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt1State;

    @ApiModelProperty("")
    private String edt1;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt2State;

    private String sdt2;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt2State;

    private String edt2;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt3State;

    private String sdt3;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt3State;

    private String edt3;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt4State;

    private String sdt4;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt4State;

    private String edt4;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt5State;

    private String sdt5;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt5State;

    private String edt5;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt6State;

    private String sdt6;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt6State;

    private String edt6;

    @ApiModelProperty("1：断电 2：送电")
    private Integer sdt7State;

    private String sdt7;

    @ApiModelProperty("1：断电 2：送电")
    private Integer edt7State;

    private String edt7;

    @ApiModelProperty("时段工作模式 0无时控 1有时控")
    private Integer runType;

    @ApiModelProperty("通讯状态  1通讯正常 4通讯错误")
    private Integer runStatus;

    private LocalDateTime updateDt;

    private String userId;

    private String userName;

    private Integer loopNo;

    @ApiModelProperty("楼座ID")
    private String buildId;

    @ApiModelProperty("楼座名称")
    private String buildName;

    @ApiModelProperty("学校ID")
    private String schoolId;

    @ApiModelProperty("学校名称")
    private String schoolName;

    @ApiModelProperty("楼层号")
    private Integer floorNo;

    @ApiModelProperty("是否下发 0否 1是")
    private Integer allots;

    @ApiModelProperty("楼层ID")
    private String floor;

    @ApiModelProperty("设备 0 旧设备 1 新设备")
    private Integer meterType;
}